home *** CD-ROM | disk | FTP | other *** search
- Path: newton.emba.uvm.edu!ertle
- From: ertle@newton.emba.uvm.edu (Jim Ertle)
- Newsgroups: comp.lang.c
- Subject: Re: Writing a program that can communicate with other programs on the Internet
- Date: 2 Feb 1996 21:32:32 GMT
- Organization: University of Vermont, Burlington
- Message-ID: <4etvtg$7oj@swen.emba.uvm.edu>
- References: <4eooin$92g@daily-planet.execpc.com>
- NNTP-Posting-Host: newton.emba.uvm.edu
-
- In article <4eooin$92g@daily-planet.execpc.com>,
- bitsafe <bitsafe@execpc.com> wrote:
- >
- >Questions:
- >
- > What PC languages can provide socket calls?
- > (preferably C or Visual Basic)
- > Can a program listen for calls on two ports at the same time?
- > Can a program listen on a port and accept keyboard input
- >simultaneously?
- >
-
- I haven't dealt with PC sockets much, so I'm not sure of the answer
- to the first. But, if they are anything like the ones on Unix
- machines, Then the answer to question #2 and #3 is yes. You should
- look at the "select()" call, which allows you to check for incoming
- data on more than one file id.
-
-
- --
- James A. Ertle |Bureaucracies are the epoxy which
- ertle@emba.uvm.edu |lubricate the wheels of Government.
- UVM's EMBA Computer Facility | - Count Zero
- Burlington, Vt. USA |
-